package mc.contents.web.request;

import mc.contents.web.common.CrawRequest;

/**
 * Created by Administrator on 14-12-8.
 */
public class RankCrawRequest extends CrawRequest{
    private String keyword;
    private String nick;
    private Long sellerId;
    private String sourceType;
    private String sortType;
    private String sessionKey;
    private String qn;
    private boolean byApi;

    public RankCrawRequest( String keyword, String nick,Long sellerId, String sessionKey, String sourceType, String sortType, Integer offset,String qn,boolean byApi ) {
        super(offset);
        this.keyword = keyword;
        this.nick = nick;
        this.sellerId = sellerId;
        this.sourceType = sourceType;
        this.sortType = sortType;
        this.sessionKey = sessionKey;
        this.qn = qn;
        this.byApi = byApi;
    }

    public boolean isByApi() {
        return byApi;
    }

    public void setByApi(boolean byApi) {
        this.byApi = byApi;
    }

    public String getQn() {
        return qn;
    }

    public void setQn(String qn) {
        this.qn = qn;
    }

    public Long getSellerId() {
        return sellerId;
    }

    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType( String sourceType ) {
        this.sourceType = sourceType;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword( String keyword ) {
        this.keyword = keyword;
    }

    public String getNick() {
        return nick;
    }

    public void setNick( String nick ) {
        this.nick = nick;
    }

    public String getSortType() {
        return sortType;
    }

    public void setSortType( String sortType ) {
        this.sortType = sortType;
    }

    public String getSessionKey() {
        return sessionKey;
    }

    public void setSessionKey( String sessionKey ) {
        this.sessionKey = sessionKey;
    }

}
